X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/0cafec445af0a97d96feb1a1daefa1486142c73f..4fc09567c557a1110180940cca40fd7144921026:/Super%20Polarity/Renderer.cs diff --git a/Super Polarity/Renderer.cs b/Super Polarity/Renderer.cs deleted file mode 100644 index 7ca8158..0000000 --- a/Super Polarity/Renderer.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Microsoft.Xna.Framework.Graphics; - -namespace SuperPolarity -{ - class Renderer - { - - static List Actors; - - static Renderer() - { - Actors = new List(); - } - - static public void CheckIn(Actor actor) - { - Actors.Add(actor); - } - - static public void CheckOut(Actor actor) - { - Actors.Remove(actor); - } - - static public void Draw(SpriteBatch spriteBatch) - { - foreach (Actor actor in Actors) - { - actor.Draw(spriteBatch); - } - } - - static public void Empty() - { - Actors.Clear(); - } - } -}